grammar CStat;

all     :stat+ ;
stat    :type Name '=' Num ';';
type:   'int'   #INT
     | 'float'  #FLOAT
     ;

Name    :[a-zA-Z_]+;
Num     :[0-9]+;
WS      :[\t\r\n]+ ->skip;